package com.wuxiaofan.service;

import com.wuxiaofan.config.AppConfig;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AppService {
    @Resource
    private AppConfig appConfig;

    public String sayHello(){
        try {
            Thread.sleep(10000);
        }catch (Exception e){

        }
        return appConfig.getName()+"对你说  :"+appConfig.getContext();
    }
}
